#!/bin/bash
APP="deploy"
TARGET="deploy/server"

rm -rf ${APP}/application.zip
rm -rf ${APP}/deploy_application.zip
rm -rf ${TARGET}

sed -i 's/"AllocatePublicIP": .*,/"AllocatePublicIP": false,/g' ${APP}/application.ros.json
cd ${APP} || exit
zip -r deploy_application.zip application.ros.json
cd - || exit
